package com.ruoyi.dynamic.model.pojo.request.app;


import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Schema(description = "APP-发布歌曲投票资源参数")
public class AppRoomVoteMusicResourceAddRequest {

    @ApiModelProperty("礼物id")
    @NotNull(message = "礼物id不能为空")
    private Long giftId;

    @ApiModelProperty("礼物图标")
    @NotBlank(message = "礼物图标不能为空")
    private String giftImg;

    @ApiModelProperty("礼物数量")
    @NotNull(message = "礼物数量不能为空")
    private Integer giftNum;

    @ApiModelProperty("歌曲名称")
    @NotBlank(message = "歌曲名称不能为空")
    private String name;

}
